from info import redis_storefrom . import index_blueimport loggingfrom flask import current_app,render_template@index_blue.route("/",methods=["GET","POST"])def  h():    # redis_store.set("name","laowang")    # print(redis_store.get("name"))    # session["product"] = "lenovo"    # print(session.get("product"))    #    logging.debug("调试信息")    logging.info("详细信息")    logging.warning("警告信息")    logging.error("错误信息")    current_app.logger.debug("调试信息")    current_app.logger.info("详细信息")    current_app.logger.warning("警告信息")    current_app.logger.error("错误信息")    return render_template("news/index.html")@index_blue.route("/favicon.ico")def web_logo():    return  current_app.send_static_file("news/favicon.ico")